package com.zhuss.bean.vo.order.order;

import java.util.Date;
import java.util.List;

import com.zhuss.bean.unit.order.OrderItemBean;
import com.zhuss.common.AbstractVo;
/**
 * @description: 订单列表vo
 * @author: zhushanshuo
 * @create: Mon Jan 11 16:30:32 CST 2021
 **/
public class ListOrderVo extends AbstractVo {

    private Long orderId;     //

    private String orderNo;     //订单编号

    private Long lineStrategyId;     //买票的线路策略ID，即商品ID

    private Long lineId;     //线路ID

    private String lineName;     //线路名称

    private Integer lineType;     //订单类型  学生、高铁、通勤等

    private Integer rideType;     //乘坐类型   优享、普通

    private Long onSiteId;     //上车站点ID

    private String onSiteName;     //上车点名称

    private Long offSiteId;     //下车站点ID

    private String offSiteName;     //下车点名称

    private String onSiteTime;     //上车点时间

    private String offSiteTime;     //下车点时间

    private String startTime;     //发车时间

    private String transactionId;     //微信订单

    private Long price;     //单价， 单位：分

    private Integer num;     //数量, 天数
    
    private Integer personNum;     //乘坐人数 

    private Long totalPrice;     //总金额, 单价*数量

    private Integer status;     //订单状态  已提交订单

    private String creator;     //创建人

    private Long creatorId;     //创建人ID

    private Date createTime;     //创建时间

    private String modifier;     //修改人

    private Long modifierId;     //修改人ID

    private Date modifyTime;     //修改时间

    private Integer deleted;     //删除，  0 为 不删除

    private List<OrderItemBean> orderItemList;

    private String lineTypeName;

    private String rideTypeName;

    private String phone;


    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
	}

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
	}

    public Long getLineStrategyId() {
        return lineStrategyId;
    }

    public void setLineStrategyId(Long lineStrategyId) {
        this.lineStrategyId = lineStrategyId;
	}

    public Long getLineId() {
        return lineId;
    }

    public void setLineId(Long lineId) {
        this.lineId = lineId;
	}

    public String getLineName() {
        return lineName;
    }

    public void setLineName(String lineName) {
        this.lineName = lineName;
	}

    public Integer getLineType() {
		return lineType;
	}

	public void setLineType(Integer lineType) {
		this.lineType = lineType;
	}

	public Integer getRideType() {
		return rideType;
	}

	public void setRideType(Integer rideType) {
		this.rideType = rideType;
	}

	public Long getOnSiteId() {
        return onSiteId;
    }

    public void setOnSiteId(Long onSiteId) {
        this.onSiteId = onSiteId;
	}

    public String getOnSiteName() {
        return onSiteName;
    }

    public void setOnSiteName(String onSiteName) {
        this.onSiteName = onSiteName;
	}

    public Long getOffSiteId() {
        return offSiteId;
    }

    public void setOffSiteId(Long offSiteId) {
        this.offSiteId = offSiteId;
	}

    public String getOffSiteName() {
        return offSiteName;
    }

    public void setOffSiteName(String offSiteName) {
        this.offSiteName = offSiteName;
	}

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
	}

    public String getTransactionId() {
        return transactionId;
    }

    public void setTransactionId(String transactionId) {
        this.transactionId = transactionId;
	}

    public Long getPrice() {
        return price;
    }

    public void setPrice(Long price) {
        this.price = price;
	}

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
	}
    
    public Integer getPersonNum() {
		return personNum;
	}
    
    public void setPersonNum(Integer personNum) {
		this.personNum = personNum;
	}

    public Long getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(Long totalPrice) {
        this.totalPrice = totalPrice;
	}

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
	}

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
	}

    public Long getCreatorId() {
        return creatorId;
    }

    public void setCreatorId(Long creatorId) {
        this.creatorId = creatorId;
	}

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
	}

    public String getModifier() {
        return modifier;
    }

    public void setModifier(String modifier) {
        this.modifier = modifier;
	}

    public Long getModifierId() {
        return modifierId;
    }

    public void setModifierId(Long modifierId) {
        this.modifierId = modifierId;
	}

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
	}

    public Integer getDeleted() {
        return deleted;
    }

    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
	}

    public List<OrderItemBean> getOrderItemList() {
		return orderItemList;
	}

    public void setOrderItemList(List<OrderItemBean> orderItemList) {
		this.orderItemList = orderItemList;
	}

	public String getLineTypeName() {
		lineTypeName = lineTypeName(this.lineType);
		return lineTypeName;
	}

	public void setLineTypeName(String lineTypeName) {
		this.lineTypeName = lineTypeName;
	}

	public String getRideTypeName() {
		rideTypeName = rideTypeName(this.rideType);
		return rideTypeName;
	}

	public void setRideTypeName(String rideTypeName) {
		this.rideTypeName = rideTypeName;
	}

	public String getOnSiteTime() {
		return onSiteTime;
	}

	public void setOnSiteTime(String onSiteTime) {
		this.onSiteTime = onSiteTime;
	}

	public String getOffSiteTime() {
		return offSiteTime;
	}

    public void setOffSiteTime(String offSiteTime) {
        this.offSiteTime = offSiteTime;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }


}
